<?php get_header(); ?>
		<div class="wrapper-content">
			<div class="content arquivo">
				<span class="clear"></span>
				<h1 class="title-post">Resultados para: <?php the_search_query(); ?></h1>
				<ul class="resultado-de-busca-lista">
					<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
						<ul class="posts-recentes">
							<li class="<?php echo $class; ?>">
								<div class="wrapper-img"><?php the_post_thumbnail( 'posts-recents' ); ?></div>
								<div class="wrapper-texto wrapper-texto-busca">
									<h3 class="categoria"><?php $category = get_the_category(); foreach ($category as $category) { echo $category->cat_name . '   ' ; }  ?></h3>
									<h3 class="titulo"><?php echo get_the_title(); ?></h3>
									<p>
									<?php
										$conteudo = get_the_content();
										echo resumo($conteudo, 400);
									?>
									</p>
									<a href="<?php echo get_permalink(); ?>" class="saibamais">Saiba +</a>
									<span class="clear"></span>
								</div>
								<span class="clear"></span>
							</li>
						</ul>
						<?php endwhile; ?>
						<?php else : ?>
							<li>
								<span class="tit-post-resultado">Nenhum resultado para <?php echo get_search_query(); ?>; </span>
							</li>
						<?php endif; ?>
						<span class="clear"></span>
				</ul>
				<div class="pagenavi"><?php wp_pagenavi(); ?></div>
			</div>
		</div><!--/wrapper-content-->
	</div><!--/container-->
<?php get_footer(); ?>